# -*-coding:utf-8-*-

import tensorflow as tf

matrix1 = tf.constant([[1, 3, 4], [5, 6, 7]], shape=[2, 3])
matrix2 = tf.constant([[3, 4], [6, 7], [1, 2]], shape=[3, 2])

product = tf.matmul(matrix1, matrix2)

with tf.Session() as sess:
    result = sess.run(product)
    m1 = sess.run([matrix2, matrix1])
print(result, m1)
